<?php

/**
 * Created by PhpStorm.
 * User: fengchen
 * 此文件用于定义路由
 */
return [
    'URL_MODEL'     => 3,
    'URL_ROUTER_ON' => true,                             // 开启路由

    'URL_ROUTE_RULES' => [                            // 路由规则
        /*各种详情路由*/
        'index$'      => 'Home/Index/index',
        'news_list$'  => 'Home/Index/news',
        'news$'       => 'Home/Index/news?id=37',
        'news/:id'    => 'Home/index/page',
        'zixun$'      => 'Home/index/news?id=38',
        'zixun/:id'   => 'Home/index/page',
        'qianyue$'    => 'Home/index/news?id=39',
        'qianyue/:id' => 'Home/index/page',
        'about$'      => 'Home/index/about',
        'product$'    => 'Home/Index/product',
        'product/:id' => 'Home/index/detail',
        'contact$'    => "Home/Index/contact",
    ],
];
